#include "stdio.h"

main()
{
	int n,u,d;
	int s,f,t;
	scanf("%d%d%d",&n,&u,&d);
	while ((u!=0)&&(n!=0)&&(d!=0))
	{
		f=1;
		s=0;
		t=0;
		while (s<n)
		{
			if (f==1) s+=u;
			else s-=d;
			++t;	
			f*=-1;
		}	
		printf("%d\n",t);
		scanf("%d%d%d",&n,&u,&d);
	}
}
